package com.ctshk.rpc.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * @description 重置密碼請求vo
 * @author 谢诗宏
 * @date 2020/12/18
 */
@Data
@ApiModel
public class ResetNewPasswordReq {

    @NotBlank(message = "请輸入用户id")
    @ApiModelProperty(name = "id", value = "用户id", required = true)
    private Long id;
    @NotBlank(message = "请输入新密码")
    @ApiModelProperty(name = "newPassword", value = "新密码", required = true)
    private String newPassword;
    @NotBlank(message = "请输入确认密码")
    @ApiModelProperty(name = "confirmPassword", value = "确认密码", required = true)
    private String confirmPassword;

}
